<?php

namespace App\Http\Controllers\Mobile;



use App\Logics\UploadFile;

class DealController extends BaseController
{
    // 一般操作
    public function initialize()
    {
        parent::initialize();
    }

    // 本地上传
    public function image()
    {
        $logic = new UploadFile();
        $url   = $logic->image();

        return $this->success($url);
    }

    // 七牛上传
    public function qiniu()
    {
        $logic = new UploadFile();
        $url   = $logic->qiniu();

        return $this->success($url);
    }
}


